POV-Ray : Newsgroups : povray.binaries.images : A crappy render : A crappy render Server Time
17 Aug 2024 02:24:23 EDT (-0400)
  A crappy render  
From: DJ Wiza
Date: 13 Nov 2001 03:45:18
Message: <3bf0dd9e@news.povray.org>
For some reason, whenever I render this scene, it looks kind of crappy.

#include "colors.inc"
#include "math.inc"

camera {
  location <5,5,-5>
  look_at <1,0,-1>
}

light_source {
  <5,5,-5>
  color rgb 1
}

difference {
  cylinder {
    <-2,0,0>,<2,0,0>, 2
    pigment {color rgb 1.5}
  }
  cylinder {
    <-3,0,0>,<3,0,0>,.8
    pigment { Gold }
  }
}

difference {
  cylinder {
    <-2,0,0>,<2,0,0>, .8
    pigment { Gold}
  }
  cylinder {
    <-3,0,0>,<3,0,0>,.7
    pigment { Gold }
  }
}

#declare lv = 0;
mesh {
  #while (lv <= 45)
  triangle { < -2,sind(-lv)*4,cosd(-lv)*4 >,< 2,sind(-lv)*4,cosd(-lv)*4
>,< -2,sind(-lv+1)*4,cosd(-lv+1)*4 > }
  triangle { < 2,sind(-lv+1)*4,cosd(-lv+1)*4 >,< 2,sind(-lv)*4,cosd(-lv)*4
>,< -2,sind(-lv+1)*4,cosd(-lv+1)*4 > }
  #declare lv = lv + 1;
  #end
  pigment { rgb 1.5 }
  translate <0,0,-6>
}


-DJ

PS.  Sorry for the bad pun.

--
"There's no joy greater that soaring high on the wings of your dreams,
except maybe the joy of watching a dreamer who has nowhere to land but the
ocean of reality."


Post a reply to this message


Attachments:
Download 'crappy.jpg' (18 KB)

Preview of image 'crappy.jpg'
crappy.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.